package com.ddw.meedeeuh.shared.movie.scrapers;

import com.ddw.meedeeuh.shared.io.SourceFile;
import com.ddw.meedeeuh.shared.movie.MovieSettings;

/**
 * Represents a search movie scraper which can obtain
 * movie pointers from search results
 * @author cmcnicholas
 *
 */
public interface SearchMovieScraper {

	/**
	 * Performs a scrape in an attempt to match movie(s) using the
	 * scraper algorithm. This call may take an indeterminate
	 * amount of time to complete.
	 * @param settings the global movie settings to use when scraping
	 * @param file the movie file to attempt to scrape
	 * @return a result instance
	 */
	public SearchMovieScraperResult scrape(MovieSettings settings, SourceFile file);

}
